<{if $list}>
<{foreach $list as $val}>
	<li>
		<a class="order-ls-info external" href="/<{$routeUrl}>/detail?id=<{$val.id}>">
			<div class="order-ls-tl">
				<{$val.title}>
				<span class="color-danger"><{$val.options}></span>
			</div>
			<div class="order-ls-date"><{if $val.order_status>1}><{$val.up_time}><{else}><{$val.add_time}><{/if}><span>编号：<{$val.id}></span></div>
			<div class="order-ls-dl">
				<div class="row">
					<div class="col-40"><img src="<{if $val.img}><{$val.img}><{else}>/upload/no_pic.gif<{/if}>"></div>
					<div class="col-60 m-l-0">
						科室：<{$zones[$val.zone_id]['pinfo']['name']}> - <{$zones[$val.zone_id]['name']}> - <{$bingchuangs[$val.bingchuang_id]['name']}><br />
						<!-- <span class="color-primary"><{$jjrs[$val.jjr_id]['realname']}> - <{$jjrs[$val.jjr_id]['tel']}></span> -->
						人员：<span class="color-primary"><{$users[$val.user_id]['nickname']}> - <{$users[$val.user_id]['tel']}></span><br />
						维护：<span class="color-danger"><{$shifus[$val.shifu_id]['realname']}> - <{$shifus[$val.shifu_id]['tel']}></span><br />
						描述：<{$val.intro}>
					</div>
				</div>
			</div>
		</a>
		<div class="order-ls-btn">
			<!-- 管理员 -->
			<{if $admin.is_admin2==1}>
				<{if $val.order_status==1}>
					<a href="#" class="external table-cell order-act" data-id="<{$val.id}>" data-status="2"><i class="fa fa-selected"></i> 重派</a>
					<a href="#" class="external table-cell"><i class="fa fa-selected"></i> 编辑</a>
					<a href="#" class="external table-cell order-act" data-id="<{$val.id}>" data-status="99">
						<i class="fa fa-selected"></i> 取消
					</a>
				<{/if}>
				<{if $val.order_status==2}>
					<a href="#" class="external table-cell order-act" data-id="<{$val.id}>" data-status="2"><i class="fa fa-selected"></i> 重派</a>
					<a href="#" class="external table-cell order-act" data-id="<{$val.id}>" data-status="3"><i class="fa fa-selected"></i> 接单</a>
					<a href="#" class="external table-cell order-act" data-id="<{$val.id}>" data-status="99"><i class="fa fa-selected"></i> 取消</a>
				<{/if}>
				<{if $val.order_status==3}>
					<a href="#" class="external table-cell order-act" data-id="<{$val.id}>" data-status="4"><i class="fa fa-selected"></i> 维修中</a>
					<a href="#" class="external table-cell order-act" data-id="<{$val.id}>" data-status="5"><i class="fa fa-selected"></i> 已完成</a>
					<a href="#" class="external table-cell order-act" data-id="<{$val.id}>" data-status="99"><i class="fa fa-selected"></i> 取消</a>
				<{/if}>
				<{if $val.order_status==4}>
					<a href="#" class="external table-cell order-act" data-id="<{$val.id}>" data-status="4"><i class="fa fa-selected"></i> 维修中</a>
					<a href="#" class="external table-cell order-act" data-id="<{$val.id}>" data-status="5"><i class="fa fa-selected"></i> 已完成</a>
				<{/if}>
				<{if $val.order_status==5}>
					<a href="/<{$routeUrl}>/pingjia?id=<{$val.id}>" class="external table-cell"><i class="fa fa-selected"></i> 评价订单</a>
				<{/if}>
				<{if $val.order_status==6}>
					<a href="/<{$routeUrl}>/pingjia_look?id=<{$val.id}>" class="external table-cell"><i class="fa fa-selected"></i> 查看评价</a>
				<{/if}>
			<{/if}>


			<{if $admin.is_admin==0}>
				<!-- 报修员 -->
				<{if $admin.level==1}>
					<{if $val.order_status==1}>
						<a href="#" class="external table-cell"><i class="fa fa-selected"></i> 编辑</a>
						<a href="#" class="external table-cell order-act" data-id="<{$val.id}>" data-status="99">
							<i class="fa fa-selected"></i> 取消
						</a>
					<{/if}>
					<{if $val.order_status==5}>
						<a href="/<{$routeUrl}>/pingjia?id=<{$val.id}>" class="external table-cell"><i class="fa fa-selected"></i> 评价订单</a>
					<{/if}>
				<{/if}>
				<!-- 师傅 -->
				<{if $admin.level==3}>
					<{if $val.order_status==1}>
						<a href="#" class="external table-cell order-act" data-id="<{$val.id}>" data-status="3"><i class="fa fa-selected"></i> 接单</a>
						<a href="#" class="external table-cell order-act" data-id="<{$val.id}>" data-status="99"><i class="fa fa-selected"></i> 取消</a>
					<{/if}>
					<{if $val.order_status==2}>
						<a href="#" class="external table-cell order-act" data-id="<{$val.id}>" data-status="2"><i class="fa fa-selected"></i> 重派</a>
						<a href="#" class="external table-cell order-act" data-id="<{$val.id}>" data-status="3"><i class="fa fa-selected"></i> 接单</a>
						<a href="#" class="external table-cell order-act" data-id="<{$val.id}>" data-status="99"><i class="fa fa-selected"></i> 取消</a>
					<{/if}>
					<{if $val.order_status==3}>
						<a href="#" class="external table-cell order-act" data-id="<{$val.id}>" data-status="4"><i class="fa fa-selected"></i> 维修中</a>
						<a href="#" class="external table-cell order-act" data-id="<{$val.id}>" data-status="5"><i class="fa fa-selected"></i> 已完成</a>
						<a href="#" class="external table-cell order-act" data-id="<{$val.id}>" data-status="99"><i class="fa fa-selected"></i> 取消</a>
					<{/if}>
					<{if $val.order_status==4}>
						<a href="#" class="external table-cell order-act" data-id="<{$val.id}>" data-status="4"><i class="fa fa-selected"></i> 维修中</a>
						<a href="#" class="external table-cell order-act" data-id="<{$val.id}>" data-status="5"><i class="fa fa-selected"></i> 已完成</a>
					<{/if}>
					<{if $val.order_status==6}>
						<a href="/<{$routeUrl}>/pingjia_look?id=<{$val.id}>" class="external table-cell"><i class="fa fa-selected"></i> 查看评价</a>
					<{/if}>
				<{/if}>
			<{/if}>
		</div>
	</li>
<{/foreach}>

<{/if}>